package com.liting.uitest.model;

import lombok.Data;

@Data
public class BaseRes<T> {
    private int code;
    private String message;
    private T result;

    public BaseRes(T t) {
        this.code = 0;
        this.message = "成功";
        this.result = t;
    }

    public BaseRes(T t, int code, String message) {
        this.code = code;
        this.message = message;
        this.result = t;
    }


}
